<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head th:include="include :: header"></head>
<body>
<form class="layui-form layui-form-pane" action="" id="saveForm">
 <div class="layui-form-item">
    <label class="layui-form-label">卡的类型</label>
    <div class="layui-input-block">
      <select name="cardType"  lay-select-dict="card_type" lay-select-title="NONE" lay-select-code="1">

	 </select>
    </div>
  </div>
 <div class="layui-form-item">
    <label class="layui-form-label">卡的价格</label>
    <div class="layui-input-block">
      <input type="text" name="cardAmount" 
							lay-verify="required|integer|minInt:0|maxInt:1000000"  autocomplete="off" class="layui-input">
    </div>
  </div>
 <div class="layui-form-item">
    <label class="layui-form-label">状态</label>
    <div class="layui-input-block">
      <select name="status"  lay-select-dict="status" lay-select-title="NONE" lay-select-code="1">

	 </select>
    </div>
  </div>
 <div class="layui-form-item">
    <label class="layui-form-label">排序号</label>
    <div class="layui-input-block">
     <input type="number" name="sortNo"  value="1"
							lay-verify="required|max:10"  autocomplete="off" class="layui-input">
    </div>
  </div>
 <div class="layui-form-item">
    <label class="layui-form-label layui-textarea-label" >备注</label>
    <div class="layui-input-block">
      <textarea name="cardRemark" lay-verify="max:200"  class="layui-textarea"></textarea>
    </div>
  </div>
   
  <!-- 隐藏域 -->
   <div class="layui-form-item" style="display:none;">
    <button class="layui-btn"  lay-submit="" lay-filter="saveSubmit">提交</button>
  </div>
</form>
  <div th:include="include :: footer"></div>
	<script>
		layui.config({
			base :  cxt+'layuiadmin/' //静态资源所在路径
		}).extend({
			webplus : 'lib/webplus', //主入口模块
		}).use([ 'form','webplus' ], function() {
		    var webplus=layui.webplus;
			webplus.initForm('business/cardCatalog/save');
			
		});

	</script>
	<link rel="stylesheet"    th:href="@{/css/common/openshow.css}" media="all"/>
</body>
</html>